package com.thread.plbc;

import java.util.concurrent.ArrayBlockingQueue;

/**
 * @author げっしょく
 * @date 2021/8/6
 */
public class ThreadDemo8 {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> list = new ArrayBlockingQueue<>(1);
        ThreadD8Foodie t1 = new ThreadD8Foodie(list);
        T8Coolde t8 = new T8Coolde(list);
        t1.start();
        t8.start();
    }
}
